<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.20"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>libevdev: /home/whot/code/libevdev/release/libevdev/build.uQTRHZxVc0/libevdev/libevdev.h Source File</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="bootstrap.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
<link href="libevdevdoxygen.css" rel="stylesheet" type="text/css"/>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
        <script type="text/javascript" src="doxy-boot.js"></script>
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">libevdev 1.10.0</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_237a012ffe1a208b10d31c74b4ef545e.html">libevdev</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">libevdev.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="libevdev_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright © 2013 Red Hat, Inc.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Permission to use, copy, modify, distribute, and sell this software and its</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * documentation for any purpose is hereby granted without fee, provided that</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * the above copyright notice appear in all copies and that both that copyright</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * notice and this permission notice appear in supporting documentation, and</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * that the name of the copyright holders not be used in advertising or</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * publicity pertaining to distribution of the software without specific,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * written prior permission.  The copyright holders make no representations</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * about the suitability of this software for any purpose.  It is provided &quot;as</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * is&quot; without express or implied warranty.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * OF THIS SOFTWARE.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifndef LIBEVDEV_H</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define LIBEVDEV_H</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;linux/input.h&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;stdarg.h&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="libevdev_8h.html#a64a0f325e88e1be50eb806e1ff75aec8">   33</a></span>&#160;<span class="preprocessor">#define LIBEVDEV_ATTRIBUTE_PRINTF(_format, _args) __attribute__ ((format (printf, _format, _args)))</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;<span class="keyword">struct </span>libevdev;</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160; </div>
<div class="line"><a name="l00757"></a><span class="lineno"><a class="line" href="group__events.html#ga56c288d9f2e4c1632986c4e218c494e9">  757</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__events.html#ga56c288d9f2e4c1632986c4e218c494e9">libevdev_read_flag</a> {</div>
<div class="line"><a name="l00758"></a><span class="lineno"><a class="line" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a1f13a19641d6dafcf01a86a6389800f8">  758</a></span>&#160;        <a class="code" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a1f13a19641d6dafcf01a86a6389800f8">LIBEVDEV_READ_FLAG_SYNC</a>         = 1, </div>
<div class="line"><a name="l00759"></a><span class="lineno"><a class="line" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9ac0d6ee19551eecf76f1ede4f36252418">  759</a></span>&#160;        <a class="code" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9ac0d6ee19551eecf76f1ede4f36252418">LIBEVDEV_READ_FLAG_NORMAL</a>       = 2, </div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;        <a class="code" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a5198e5c9cc98b75f73f61b104d6a674c">LIBEVDEV_READ_FLAG_FORCE_SYNC</a>   = 4, </div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;        <a class="code" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a0a348d44362a7e515b40a4ed4d528e19">LIBEVDEV_READ_FLAG_BLOCKING</a>     = 8  </div>
<div class="line"><a name="l00763"></a><span class="lineno"><a class="line" href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a0a348d44362a7e515b40a4ed4d528e19">  763</a></span>&#160;};</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160; </div>
<div class="line"><a name="l00779"></a><span class="lineno"><a class="line" href="group__init.html#ga332c8ee260b4ef864345abe5d04e820c">  779</a></span>&#160;<span class="keyword">struct </span>libevdev* <a class="code" href="group__init.html#ga332c8ee260b4ef864345abe5d04e820c">libevdev_new</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160; </div>
<div class="line"><a name="l00803"></a><span class="lineno"><a class="line" href="group__init.html#ga89bb5bce1c23e293293484b05b12aaf4">  803</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#ga89bb5bce1c23e293293484b05b12aaf4">libevdev_new_from_fd</a>(<span class="keywordtype">int</span> fd, <span class="keyword">struct</span> libevdev **dev);</div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160; </div>
<div class="line"><a name="l00818"></a><span class="lineno"><a class="line" href="group__init.html#gacd9fe760d15be25fc99ce469034bd78c">  818</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__init.html#gacd9fe760d15be25fc99ce469034bd78c">libevdev_free</a>(<span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160; </div>
<div class="line"><a name="l00823"></a><span class="lineno"><a class="line" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">  823</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> {</div>
<div class="line"><a name="l00824"></a><span class="lineno"><a class="line" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a21fd1083f2ebd0a25f09ee982e365d5f">  824</a></span>&#160;        <a class="code" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a21fd1083f2ebd0a25f09ee982e365d5f">LIBEVDEV_LOG_ERROR</a> = 10,        </div>
<div class="line"><a name="l00825"></a><span class="lineno"><a class="line" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a4d13a031b112292ca3e7bab8c6d76abc">  825</a></span>&#160;        <a class="code" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a4d13a031b112292ca3e7bab8c6d76abc">LIBEVDEV_LOG_INFO</a>  = 20,        </div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;        <a class="code" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a760d66d422ffcf89b0f1ddb529b95793">LIBEVDEV_LOG_DEBUG</a> = 30         </div>
<div class="line"><a name="l00827"></a><span class="lineno"><a class="line" href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a760d66d422ffcf89b0f1ddb529b95793">  827</a></span>&#160;};</div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160; </div>
<div class="line"><a name="l00845"></a><span class="lineno"><a class="line" href="group__logging.html#gaf36c721d273c0794251eb7dacea2f0a4">  845</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__logging.html#gaf36c721d273c0794251eb7dacea2f0a4">libevdev_log_func_t</a>)(<span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> priority,</div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;                                    <span class="keywordtype">void</span> *data,</div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;                                    <span class="keyword">const</span> <span class="keywordtype">char</span> *file, <span class="keywordtype">int</span> line,</div>
<div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;                                    <span class="keyword">const</span> <span class="keywordtype">char</span> *func,</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;                                    <span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list args)</div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;        <a class="code" href="libevdev_8h.html#a64a0f325e88e1be50eb806e1ff75aec8">LIBEVDEV_ATTRIBUTE_PRINTF</a>(6, 0);</div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160; </div>
<div class="line"><a name="l00870"></a><span class="lineno"><a class="line" href="group__logging.html#gaa60be86b83b3a6c82d8e536ba89ff955">  870</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__logging.html#gaa60be86b83b3a6c82d8e536ba89ff955">libevdev_set_log_function</a>(<a class="code" href="group__logging.html#gaf36c721d273c0794251eb7dacea2f0a4">libevdev_log_func_t</a> logfunc, <span class="keywordtype">void</span> *data);</div>
<div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160; </div>
<div class="line"><a name="l00884"></a><span class="lineno"><a class="line" href="group__logging.html#gaf6b6842a9ed98b61d0abb421e853fd89">  884</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__logging.html#gaf6b6842a9ed98b61d0abb421e853fd89">libevdev_set_log_priority</a>(<span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> priority);</div>
<div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160; </div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;<span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> <a class="code" href="group__logging.html#ga1da07493a798595cf85c127490b98ee8">libevdev_get_log_priority</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160; </div>
<div class="line"><a name="l00918"></a><span class="lineno"><a class="line" href="group__logging.html#gab7eb997be2b701cc6f42e7b4c3478269">  918</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__logging.html#gab7eb997be2b701cc6f42e7b4c3478269">libevdev_device_log_func_t</a>)(<span class="keyword">const</span> <span class="keyword">struct </span>libevdev *dev,</div>
<div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;                                           <span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> priority,</div>
<div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;                                           <span class="keywordtype">void</span> *data,</div>
<div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;                                           <span class="keyword">const</span> <span class="keywordtype">char</span> *file, <span class="keywordtype">int</span> line,</div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;                                           <span class="keyword">const</span> <span class="keywordtype">char</span> *func,</div>
<div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;                                           <span class="keyword">const</span> <span class="keywordtype">char</span> *format, va_list args)</div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;        <a class="code" href="libevdev_8h.html#a64a0f325e88e1be50eb806e1ff75aec8">LIBEVDEV_ATTRIBUTE_PRINTF</a>(7, 0);</div>
<div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160; </div>
<div class="line"><a name="l00947"></a><span class="lineno"><a class="line" href="group__logging.html#ga2830ff0aa391d8d1111682d3e762091b">  947</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__logging.html#ga2830ff0aa391d8d1111682d3e762091b">libevdev_set_device_log_function</a>(<span class="keyword">struct</span> libevdev *dev,</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;                                      <a class="code" href="group__logging.html#gab7eb997be2b701cc6f42e7b4c3478269">libevdev_device_log_func_t</a> logfunc,</div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;                                      <span class="keyword">enum</span> <a class="code" href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a> priority,</div>
<div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;                                      <span class="keywordtype">void</span> *data);</div>
<div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160; </div>
<div class="line"><a name="l00955"></a><span class="lineno"><a class="line" href="group__init.html#gaa282ec9badaa6bc11b1dc5bb124dbd5b">  955</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__init.html#gaa282ec9badaa6bc11b1dc5bb124dbd5b">libevdev_grab_mode</a> {</div>
<div class="line"><a name="l00956"></a><span class="lineno"><a class="line" href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5bad3ac6f5f3ebf7d38a6aad74a88396c88">  956</a></span>&#160;        <a class="code" href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5bad3ac6f5f3ebf7d38a6aad74a88396c88">LIBEVDEV_GRAB</a> = 3,      </div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;        <a class="code" href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5ba6c0930d0c280753504cd05ebdcda09eb">LIBEVDEV_UNGRAB</a> = 4     </div>
<div class="line"><a name="l00958"></a><span class="lineno"><a class="line" href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5ba6c0930d0c280753504cd05ebdcda09eb">  958</a></span>&#160;};</div>
<div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160; </div>
<div class="line"><a name="l00982"></a><span class="lineno"><a class="line" href="group__init.html#ga5d434af74fee20f273db568e2cbbd13f">  982</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#ga5d434af74fee20f273db568e2cbbd13f">libevdev_grab</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keyword">enum</span> <a class="code" href="group__init.html#gaa282ec9badaa6bc11b1dc5bb124dbd5b">libevdev_grab_mode</a> grab);</div>
<div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160; </div>
<div class="line"><a name="l01016"></a><span class="lineno"><a class="line" href="group__init.html#ga6658ac490d68c307ff8b8d1536c12b44"> 1016</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#ga6658ac490d68c307ff8b8d1536c12b44">libevdev_set_fd</a>(<span class="keyword">struct</span> libevdev* dev, <span class="keywordtype">int</span> fd);</div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160; </div>
<div class="line"><a name="l01056"></a><span class="lineno"><a class="line" href="group__init.html#gac71c9cca4c572ed1b1a8c233be70a17c"> 1056</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#gac71c9cca4c572ed1b1a8c233be70a17c">libevdev_change_fd</a>(<span class="keyword">struct</span> libevdev* dev, <span class="keywordtype">int</span> fd);</div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160; </div>
<div class="line"><a name="l01066"></a><span class="lineno"><a class="line" href="group__init.html#gab9bfc800859ac3aa63f41d58ec4b616c"> 1066</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__init.html#gab9bfc800859ac3aa63f41d58ec4b616c">libevdev_get_fd</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev* dev);</div>
<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160; </div>
<div class="line"><a name="l01071"></a><span class="lineno"><a class="line" href="group__events.html#ga4a96221b3c7f54dfb86035d952154e3a"> 1071</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__events.html#ga4a96221b3c7f54dfb86035d952154e3a">libevdev_read_status</a> {</div>
<div class="line"><a name="l01078"></a><span class="lineno"><a class="line" href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aab053221fc1c9630eee7111b75aa0aec7"> 1078</a></span>&#160;        <a class="code" href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aab053221fc1c9630eee7111b75aa0aec7">LIBEVDEV_READ_STATUS_SUCCESS</a> = 0,</div>
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;        <a class="code" href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aa8d70b14a38204fde4ad433023baa545a">LIBEVDEV_READ_STATUS_SYNC</a> = 1</div>
<div class="line"><a name="l01088"></a><span class="lineno"><a class="line" href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aa8d70b14a38204fde4ad433023baa545a"> 1088</a></span>&#160;};</div>
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160; </div>
<div class="line"><a name="l01140"></a><span class="lineno"><a class="line" href="group__events.html#gabb96c864e836c0b98788f4ab771c3a76"> 1140</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__events.html#gabb96c864e836c0b98788f4ab771c3a76">libevdev_next_event</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags, <span class="keyword">struct</span> input_event *ev);</div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160; </div>
<div class="line"><a name="l01164"></a><span class="lineno"><a class="line" href="group__events.html#gae18fbfb59064c9c4b9d5db2d8cb23784"> 1164</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__events.html#gae18fbfb59064c9c4b9d5db2d8cb23784">libevdev_has_event_pending</a>(<span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160; </div>
<div class="line"><a name="l01180"></a><span class="lineno"><a class="line" href="group__bits.html#gaed0328c67b7a78422636d9fe09a73f12"> 1180</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__bits.html#gaed0328c67b7a78422636d9fe09a73f12">libevdev_get_name</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160; </div>
<div class="line"><a name="l01195"></a><span class="lineno"><a class="line" href="group__kernel.html#gae5dcdb7678cdc9be4ab1989725b4ed32"> 1195</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gae5dcdb7678cdc9be4ab1989725b4ed32">libevdev_set_name</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160; </div>
<div class="line"><a name="l01212"></a><span class="lineno"><a class="line" href="group__bits.html#ga5df483b0b24d7b96ea1181808fab851d"> 1212</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__bits.html#ga5df483b0b24d7b96ea1181808fab851d">libevdev_get_phys</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160; </div>
<div class="line"><a name="l01227"></a><span class="lineno"><a class="line" href="group__kernel.html#gacd57c8d6ace8e0b1417809a9c1c67af3"> 1227</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gacd57c8d6ace8e0b1417809a9c1c67af3">libevdev_set_phys</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keyword">const</span> <span class="keywordtype">char</span> *phys);</div>
<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160; </div>
<div class="line"><a name="l01242"></a><span class="lineno"><a class="line" href="group__bits.html#ga6d9f7d44bff8828ead3d251177035ca4"> 1242</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__bits.html#ga6d9f7d44bff8828ead3d251177035ca4">libevdev_get_uniq</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160; </div>
<div class="line"><a name="l01257"></a><span class="lineno"><a class="line" href="group__kernel.html#ga4e4fd2627744fd5811c50c7403f27ad7"> 1257</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga4e4fd2627744fd5811c50c7403f27ad7">libevdev_set_uniq</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keyword">const</span> <span class="keywordtype">char</span> *uniq);</div>
<div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>&#160; </div>
<div class="line"><a name="l01268"></a><span class="lineno"><a class="line" href="group__bits.html#ga1dc66cfef646878d58be72f8902a6bac"> 1268</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga1dc66cfef646878d58be72f8902a6bac">libevdev_get_id_product</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160; </div>
<div class="line"><a name="l01281"></a><span class="lineno"><a class="line" href="group__kernel.html#ga62fbdaac056ab5c3db154a9eeaf33799"> 1281</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga62fbdaac056ab5c3db154a9eeaf33799">libevdev_set_id_product</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> product_id);</div>
<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>&#160; </div>
<div class="line"><a name="l01292"></a><span class="lineno"><a class="line" href="group__bits.html#ga08891c3285da5b8d26769c9a34f063f3"> 1292</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga08891c3285da5b8d26769c9a34f063f3">libevdev_get_id_vendor</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160; </div>
<div class="line"><a name="l01305"></a><span class="lineno"><a class="line" href="group__kernel.html#ga8ce28051ebbb73de1d04d782f4d0d6fe"> 1305</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga8ce28051ebbb73de1d04d782f4d0d6fe">libevdev_set_id_vendor</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> vendor_id);</div>
<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160; </div>
<div class="line"><a name="l01316"></a><span class="lineno"><a class="line" href="group__bits.html#ga9bf55d416401642bad0c435735682308"> 1316</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga9bf55d416401642bad0c435735682308">libevdev_get_id_bustype</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>&#160; </div>
<div class="line"><a name="l01329"></a><span class="lineno"><a class="line" href="group__kernel.html#gaf99139c728ba1bd4b37ede612780b6b0"> 1329</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gaf99139c728ba1bd4b37ede612780b6b0">libevdev_set_id_bustype</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> bustype);</div>
<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160; </div>
<div class="line"><a name="l01340"></a><span class="lineno"><a class="line" href="group__bits.html#ga75a07d0c96dfe09d2194c104c429d0ae"> 1340</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga75a07d0c96dfe09d2194c104c429d0ae">libevdev_get_id_version</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>&#160; </div>
<div class="line"><a name="l01353"></a><span class="lineno"><a class="line" href="group__kernel.html#gaee1d2db88b191ec21d5bf22dd4fe3055"> 1353</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gaee1d2db88b191ec21d5bf22dd4fe3055">libevdev_set_id_version</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> version);</div>
<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160; </div>
<div class="line"><a name="l01364"></a><span class="lineno"><a class="line" href="group__bits.html#ga31e9e7a99215a03bcdc339b53e1be2fa"> 1364</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga31e9e7a99215a03bcdc339b53e1be2fa">libevdev_get_driver_version</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160; </div>
<div class="line"><a name="l01376"></a><span class="lineno"><a class="line" href="group__bits.html#ga36d529ea53f4522004bc7d16c051464b"> 1376</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga36d529ea53f4522004bc7d16c051464b">libevdev_has_property</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> prop);</div>
<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160; </div>
<div class="line"><a name="l01389"></a><span class="lineno"><a class="line" href="group__kernel.html#gafc552080520c9d886452b05f3a1d75b6"> 1389</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#gafc552080520c9d886452b05f3a1d75b6">libevdev_enable_property</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> prop);</div>
<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160; </div>
<div class="line"><a name="l01399"></a><span class="lineno"><a class="line" href="group__kernel.html#ga8f6367c36331c803ad69b2591e210019"> 1399</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga8f6367c36331c803ad69b2591e210019">libevdev_disable_property</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> prop);</div>
<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>&#160; </div>
<div class="line"><a name="l01411"></a><span class="lineno"><a class="line" href="group__bits.html#ga398bef155fa4a0cfb832de30723ebd14"> 1411</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga398bef155fa4a0cfb832de30723ebd14">libevdev_has_event_type</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>&#160; </div>
<div class="line"><a name="l01424"></a><span class="lineno"><a class="line" href="group__bits.html#gab2ab9dad417f33daa79fa0c3d682df0b"> 1424</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#gab2ab9dad417f33daa79fa0c3d682df0b">libevdev_has_event_code</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160; </div>
<div class="line"><a name="l01438"></a><span class="lineno"><a class="line" href="group__bits.html#ga482ce989a3f62f7e67e4ea7ad534189e"> 1438</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga482ce989a3f62f7e67e4ea7ad534189e">libevdev_get_abs_minimum</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>&#160; </div>
<div class="line"><a name="l01452"></a><span class="lineno"><a class="line" href="group__bits.html#ga97a3411ae85f1f3b5c5eb1d5351b11ca"> 1452</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga97a3411ae85f1f3b5c5eb1d5351b11ca">libevdev_get_abs_maximum</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160; </div>
<div class="line"><a name="l01466"></a><span class="lineno"><a class="line" href="group__bits.html#ga1a3dfeb3bb2db0b4323c836c7ab10f1a"> 1466</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga1a3dfeb3bb2db0b4323c836c7ab10f1a">libevdev_get_abs_fuzz</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160; </div>
<div class="line"><a name="l01480"></a><span class="lineno"><a class="line" href="group__bits.html#ga6b3f7ebae2324524dc41384acd724b92"> 1480</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga6b3f7ebae2324524dc41384acd724b92">libevdev_get_abs_flat</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>&#160; </div>
<div class="line"><a name="l01494"></a><span class="lineno"><a class="line" href="group__bits.html#ga75751e637a845201b6d1c419ecfa6ba4"> 1494</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga75751e637a845201b6d1c419ecfa6ba4">libevdev_get_abs_resolution</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>&#160; </div>
<div class="line"><a name="l01509"></a><span class="lineno"><a class="line" href="group__bits.html#ga6d8e2caf87fa536fad979346671838d7"> 1509</a></span>&#160;<span class="keyword">const</span> <span class="keyword">struct </span>input_absinfo* <a class="code" href="group__bits.html#ga6d8e2caf87fa536fad979346671838d7">libevdev_get_abs_info</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>&#160; </div>
<div class="line"><a name="l01533"></a><span class="lineno"><a class="line" href="group__bits.html#ga6259f4c6bdba950329ff9cd48c2ef8a3"> 1533</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga6259f4c6bdba950329ff9cd48c2ef8a3">libevdev_get_event_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>&#160; </div>
<div class="line"><a name="l01569"></a><span class="lineno"><a class="line" href="group__kernel.html#ga79e82ee2a95cb08adb4172aabe0c7184"> 1569</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga79e82ee2a95cb08adb4172aabe0c7184">libevdev_set_event_value</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160; </div>
<div class="line"><a name="l01596"></a><span class="lineno"><a class="line" href="group__bits.html#ga0a7be80d769294bf9758adf79c3c7147"> 1596</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#ga0a7be80d769294bf9758adf79c3c7147">libevdev_fetch_event_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> *value);</div>
<div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>&#160; </div>
<div class="line"><a name="l01618"></a><span class="lineno"><a class="line" href="group__mt.html#ga8c6303391cb4f90b2d46763cf4eb8bc8"> 1618</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__mt.html#ga8c6303391cb4f90b2d46763cf4eb8bc8">libevdev_get_slot_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> slot, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>&#160; </div>
<div class="line"><a name="l01648"></a><span class="lineno"><a class="line" href="group__kernel.html#ga0c61f4919b03b0850529a50c37a20333"> 1648</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga0c61f4919b03b0850529a50c37a20333">libevdev_set_slot_value</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> slot, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>&#160; </div>
<div class="line"><a name="l01675"></a><span class="lineno"><a class="line" href="group__mt.html#gaca19dca5aa8f0ea3b210f3fc670384ec"> 1675</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__mt.html#gaca19dca5aa8f0ea3b210f3fc670384ec">libevdev_fetch_slot_value</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> slot, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> *value);</div>
<div class="line"><a name="l01676"></a><span class="lineno"> 1676</span>&#160; </div>
<div class="line"><a name="l01690"></a><span class="lineno"><a class="line" href="group__mt.html#gaf272526f0a59d2f61ef7389046cd4088"> 1690</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__mt.html#gaf272526f0a59d2f61ef7389046cd4088">libevdev_get_num_slots</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01691"></a><span class="lineno"> 1691</span>&#160; </div>
<div class="line"><a name="l01707"></a><span class="lineno"><a class="line" href="group__mt.html#gad22e2420be668b56ef486cde2e98c5dd"> 1707</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__mt.html#gad22e2420be668b56ef486cde2e98c5dd">libevdev_get_current_slot</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev);</div>
<div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>&#160; </div>
<div class="line"><a name="l01720"></a><span class="lineno"><a class="line" href="group__kernel.html#gaca62172c2a823cd02eacf0d2292d917a"> 1720</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gaca62172c2a823cd02eacf0d2292d917a">libevdev_set_abs_minimum</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01721"></a><span class="lineno"> 1721</span>&#160; </div>
<div class="line"><a name="l01733"></a><span class="lineno"><a class="line" href="group__kernel.html#ga2302fd9a491d8e27280157d67a703af6"> 1733</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga2302fd9a491d8e27280157d67a703af6">libevdev_set_abs_maximum</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>&#160; </div>
<div class="line"><a name="l01746"></a><span class="lineno"><a class="line" href="group__kernel.html#gaa192bf0c68620be819337da6ec361c21"> 1746</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gaa192bf0c68620be819337da6ec361c21">libevdev_set_abs_fuzz</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160; </div>
<div class="line"><a name="l01759"></a><span class="lineno"><a class="line" href="group__kernel.html#gabd309f30744a49e9391250b00ba2d67a"> 1759</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gabd309f30744a49e9391250b00ba2d67a">libevdev_set_abs_flat</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>&#160; </div>
<div class="line"><a name="l01772"></a><span class="lineno"><a class="line" href="group__kernel.html#ga2266b59711cdaa4fc12fa56c9313a038"> 1772</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#ga2266b59711cdaa4fc12fa56c9313a038">libevdev_set_abs_resolution</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>&#160; </div>
<div class="line"><a name="l01785"></a><span class="lineno"><a class="line" href="group__kernel.html#gafc7a4f5308e2dbf55f875630b8dca049"> 1785</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__kernel.html#gafc7a4f5308e2dbf55f875630b8dca049">libevdev_set_abs_info</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keyword">struct</span> input_absinfo *abs);</div>
<div class="line"><a name="l01786"></a><span class="lineno"> 1786</span>&#160; </div>
<div class="line"><a name="l01804"></a><span class="lineno"><a class="line" href="group__kernel.html#ga59ef78b1557f9543d0060ab25b0167ca"> 1804</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga59ef78b1557f9543d0060ab25b0167ca">libevdev_enable_event_type</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>&#160; </div>
<div class="line"><a name="l01832"></a><span class="lineno"><a class="line" href="group__kernel.html#gabbacb53b66882b5335055c0fd1f40d9a"> 1832</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#gabbacb53b66882b5335055c0fd1f40d9a">libevdev_disable_event_type</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>&#160; </div>
<div class="line"><a name="l01867"></a><span class="lineno"><a class="line" href="group__kernel.html#ga51cfda33fd526549046399aadd764fca"> 1867</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga51cfda33fd526549046399aadd764fca">libevdev_enable_event_code</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keywordtype">void</span> *data);</div>
<div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>&#160; </div>
<div class="line"><a name="l01896"></a><span class="lineno"><a class="line" href="group__kernel.html#ga6199a7c8144f54e092e913c2d2df16de"> 1896</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga6199a7c8144f54e092e913c2d2df16de">libevdev_disable_event_code</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l01897"></a><span class="lineno"> 1897</span>&#160; </div>
<div class="line"><a name="l01912"></a><span class="lineno"><a class="line" href="group__kernel.html#ga41c0321b93349d0ddd1f1c007ccf7de9"> 1912</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga41c0321b93349d0ddd1f1c007ccf7de9">libevdev_kernel_set_abs_info</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keyword">struct</span> input_absinfo *abs);</div>
<div class="line"><a name="l01913"></a><span class="lineno"> 1913</span>&#160; </div>
<div class="line"><a name="l01917"></a><span class="lineno"><a class="line" href="group__kernel.html#ga8cddf7779debef0067665671e911ec41"> 1917</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__kernel.html#ga8cddf7779debef0067665671e911ec41">libevdev_led_value</a> {</div>
<div class="line"><a name="l01918"></a><span class="lineno"><a class="line" href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a69d5a4cdf2a9357915fff0251a61d2ab"> 1918</a></span>&#160;        <a class="code" href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a69d5a4cdf2a9357915fff0251a61d2ab">LIBEVDEV_LED_ON</a> = 3, </div>
<div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>&#160;        <a class="code" href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a23e508440306c387ddf89acd2db9e065">LIBEVDEV_LED_OFF</a> = 4 </div>
<div class="line"><a name="l01920"></a><span class="lineno"><a class="line" href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a23e508440306c387ddf89acd2db9e065"> 1920</a></span>&#160;};</div>
<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>&#160; </div>
<div class="line"><a name="l01935"></a><span class="lineno"><a class="line" href="group__kernel.html#gaa7d13aeac3c40e16f296467780e67c01"> 1935</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#gaa7d13aeac3c40e16f296467780e67c01">libevdev_kernel_set_led_value</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code, <span class="keyword">enum</span> <a class="code" href="group__kernel.html#ga8cddf7779debef0067665671e911ec41">libevdev_led_value</a> value);</div>
<div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>&#160; </div>
<div class="line"><a name="l01960"></a><span class="lineno"><a class="line" href="group__kernel.html#ga93a19fa6e5be57903aff7c4a60af2a00"> 1960</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga93a19fa6e5be57903aff7c4a60af2a00">libevdev_kernel_set_led_values</a>(<span class="keyword">struct</span> libevdev *dev, ...);</div>
<div class="line"><a name="l01961"></a><span class="lineno"> 1961</span>&#160; </div>
<div class="line"><a name="l01976"></a><span class="lineno"><a class="line" href="group__kernel.html#ga2925b6fbf8c7991ff2164424b840b82d"> 1976</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__kernel.html#ga2925b6fbf8c7991ff2164424b840b82d">libevdev_set_clock_id</a>(<span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> clockid);</div>
<div class="line"><a name="l01977"></a><span class="lineno"> 1977</span>&#160; </div>
<div class="line"><a name="l01999"></a><span class="lineno"><a class="line" href="group__misc.html#gab8b6b80740e028261300b8952b61a596"> 1999</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#gab8b6b80740e028261300b8952b61a596">libevdev_event_is_type</a>(<span class="keyword">const</span> <span class="keyword">struct</span> input_event *ev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>&#160; </div>
<div class="line"><a name="l02024"></a><span class="lineno"><a class="line" href="group__misc.html#ga37766a6a498fef3294d589abcce688bb"> 2024</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga37766a6a498fef3294d589abcce688bb">libevdev_event_is_code</a>(<span class="keyword">const</span> <span class="keyword">struct</span> input_event *ev, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>&#160; </div>
<div class="line"><a name="l02037"></a><span class="lineno"><a class="line" href="group__misc.html#gac99720fd926bf288764f9a81bf37ed09"> 2037</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__misc.html#gac99720fd926bf288764f9a81bf37ed09">libevdev_event_type_get_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l02050"></a><span class="lineno"><a class="line" href="group__misc.html#gab407b3c2caaae502859c28460cad17bb"> 2050</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__misc.html#gab407b3c2caaae502859c28460cad17bb">libevdev_event_code_get_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code);</div>
<div class="line"><a name="l02051"></a><span class="lineno"> 2051</span>&#160; </div>
<div class="line"><a name="l02072"></a><span class="lineno"><a class="line" href="group__misc.html#gabcd45c5e963cba245e944ea66e72fcc3"> 2072</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="group__misc.html#gabcd45c5e963cba245e944ea66e72fcc3">libevdev_event_value_get_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type,</div>
<div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>&#160;                                           <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code,</div>
<div class="line"><a name="l02074"></a><span class="lineno"> 2074</span>&#160;                                           <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l02088"></a><span class="lineno"><a class="line" href="group__misc.html#gacc12bdb7b912070ac9c375428f2c9892"> 2088</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="group__misc.html#gacc12bdb7b912070ac9c375428f2c9892">libevdev_property_get_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> prop);</div>
<div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>&#160; </div>
<div class="line"><a name="l02102"></a><span class="lineno"><a class="line" href="group__misc.html#gabfad87ea78d034631cf3e5322ac383a1"> 2102</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#gabfad87ea78d034631cf3e5322ac383a1">libevdev_event_type_get_max</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type);</div>
<div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>&#160; </div>
<div class="line"><a name="l02118"></a><span class="lineno"><a class="line" href="group__misc.html#ga61ce3bf1e66bd172e583b86a11fc41f1"> 2118</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga61ce3bf1e66bd172e583b86a11fc41f1">libevdev_event_type_from_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02119"></a><span class="lineno"> 2119</span>&#160; </div>
<div class="line"><a name="l02136"></a><span class="lineno"><a class="line" href="group__misc.html#ga4ee03d650200bb04a23233570667fa84"> 2136</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga4ee03d650200bb04a23233570667fa84">libevdev_event_type_from_name_n</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02137"></a><span class="lineno"> 2137</span>&#160; </div>
<div class="line"><a name="l02157"></a><span class="lineno"><a class="line" href="group__misc.html#ga6620301a67f467489e4a7f93afe81621"> 2157</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga6620301a67f467489e4a7f93afe81621">libevdev_event_code_from_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>&#160; </div>
<div class="line"><a name="l02180"></a><span class="lineno"><a class="line" href="group__misc.html#ga17a760a9eea9dc25011f39e1d5c282a0"> 2180</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga17a760a9eea9dc25011f39e1d5c282a0">libevdev_event_code_from_name_n</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keyword">const</span> <span class="keywordtype">char</span> *name,</div>
<div class="line"><a name="l02181"></a><span class="lineno"> 2181</span>&#160;                                    <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>&#160; </div>
<div class="line"><a name="l02204"></a><span class="lineno"><a class="line" href="group__misc.html#ga314903beeafedabe45f879637e7254b0"> 2204</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga314903beeafedabe45f879637e7254b0">libevdev_event_value_from_name</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code,</div>
<div class="line"><a name="l02205"></a><span class="lineno"> 2205</span>&#160;                                   <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02206"></a><span class="lineno"> 2206</span>&#160; </div>
<div class="line"><a name="l02223"></a><span class="lineno"> 2223</span>&#160;<span class="keywordtype">int</span></div>
<div class="line"><a name="l02224"></a><span class="lineno"><a class="line" href="group__misc.html#gadd41b7514cca16c8b8920f16e562e08a"> 2224</a></span>&#160;<a class="code" href="group__misc.html#gadd41b7514cca16c8b8920f16e562e08a">libevdev_event_type_from_code_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02225"></a><span class="lineno"> 2225</span>&#160; </div>
<div class="line"><a name="l02244"></a><span class="lineno"> 2244</span>&#160;<span class="keywordtype">int</span></div>
<div class="line"><a name="l02245"></a><span class="lineno"><a class="line" href="group__misc.html#gab214498fca7a328f8a712ce15bf21982"> 2245</a></span>&#160;<a class="code" href="group__misc.html#gab214498fca7a328f8a712ce15bf21982">libevdev_event_type_from_code_name_n</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02246"></a><span class="lineno"> 2246</span>&#160; </div>
<div class="line"><a name="l02263"></a><span class="lineno"> 2263</span>&#160;<span class="keywordtype">int</span></div>
<div class="line"><a name="l02264"></a><span class="lineno"><a class="line" href="group__misc.html#gabad00f68481d83747a134c0a37aca003"> 2264</a></span>&#160;<a class="code" href="group__misc.html#gabad00f68481d83747a134c0a37aca003">libevdev_event_code_from_code_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02265"></a><span class="lineno"> 2265</span>&#160; </div>
<div class="line"><a name="l02284"></a><span class="lineno"> 2284</span>&#160;<span class="keywordtype">int</span></div>
<div class="line"><a name="l02285"></a><span class="lineno"><a class="line" href="group__misc.html#ga5bf9af4b8c372d87793e8a3c2dbeb466"> 2285</a></span>&#160;<a class="code" href="group__misc.html#ga5bf9af4b8c372d87793e8a3c2dbeb466">libevdev_event_code_from_code_name_n</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>&#160; </div>
<div class="line"><a name="l02310"></a><span class="lineno"><a class="line" href="group__misc.html#gaebfc6b0ebb70169c9fec61620f1ea85f"> 2310</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#gaebfc6b0ebb70169c9fec61620f1ea85f">libevdev_event_value_from_name_n</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> code,</div>
<div class="line"><a name="l02311"></a><span class="lineno"> 2311</span>&#160;                                     <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02312"></a><span class="lineno"> 2312</span>&#160; </div>
<div class="line"><a name="l02325"></a><span class="lineno"><a class="line" href="group__misc.html#ga6f4418c98aa475a2fc34d58a197f7edd"> 2325</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#ga6f4418c98aa475a2fc34d58a197f7edd">libevdev_property_from_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l02326"></a><span class="lineno"> 2326</span>&#160; </div>
<div class="line"><a name="l02341"></a><span class="lineno"><a class="line" href="group__misc.html#gaaa0bc4c7d0d2aedc84c7dcffee9ce29b"> 2341</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__misc.html#gaaa0bc4c7d0d2aedc84c7dcffee9ce29b">libevdev_property_from_name_n</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a name="l02342"></a><span class="lineno"> 2342</span>&#160; </div>
<div class="line"><a name="l02360"></a><span class="lineno"><a class="line" href="group__bits.html#gaf12fa199bb9497b38358d72e7505d770"> 2360</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__bits.html#gaf12fa199bb9497b38358d72e7505d770">libevdev_get_repeat</a>(<span class="keyword">const</span> <span class="keyword">struct</span> libevdev *dev, <span class="keywordtype">int</span> *delay, <span class="keywordtype">int</span> *period);</div>
<div class="line"><a name="l02361"></a><span class="lineno"> 2361</span>&#160; </div>
<div class="line"><a name="l02362"></a><span class="lineno"> 2362</span>&#160;<span class="comment">/********* DEPRECATED SECTION *********/</span></div>
<div class="line"><a name="l02363"></a><span class="lineno"> 2363</span>&#160;<span class="preprocessor">#if defined(__GNUC__) &amp;&amp; __GNUC__ &gt;= 4</span></div>
<div class="line"><a name="l02364"></a><span class="lineno"> 2364</span>&#160;<span class="preprocessor">#define LIBEVDEV_DEPRECATED __attribute__ ((deprecated))</span></div>
<div class="line"><a name="l02365"></a><span class="lineno"> 2365</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l02366"></a><span class="lineno"><a class="line" href="libevdev_8h.html#aa136bf4638abda28de7cd9f48af534ae"> 2366</a></span>&#160;<span class="preprocessor">#define LIBEVDEV_DEPRECATED</span></div>
<div class="line"><a name="l02367"></a><span class="lineno"> 2367</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l02368"></a><span class="lineno"> 2368</span>&#160; </div>
<div class="line"><a name="l02369"></a><span class="lineno"> 2369</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l02370"></a><span class="lineno"> 2370</span>&#160;}</div>
<div class="line"><a name="l02371"></a><span class="lineno"> 2371</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l02372"></a><span class="lineno"> 2372</span>&#160; </div>
<div class="line"><a name="l02373"></a><span class="lineno"> 2373</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* LIBEVDEV_H */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup__kernel_html_ga2266b59711cdaa4fc12fa56c9313a038"><div class="ttname"><a href="group__kernel.html#ga2266b59711cdaa4fc12fa56c9313a038">libevdev_set_abs_resolution</a></div><div class="ttdeci">void libevdev_set_abs_resolution(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the resolution for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__init_html_ggaa282ec9badaa6bc11b1dc5bb124dbd5ba6c0930d0c280753504cd05ebdcda09eb"><div class="ttname"><a href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5ba6c0930d0c280753504cd05ebdcda09eb">LIBEVDEV_UNGRAB</a></div><div class="ttdeci">@ LIBEVDEV_UNGRAB</div><div class="ttdoc">Ungrab the device if currently grabbed.</div><div class="ttdef"><b>Definition:</b> libevdev.h:957</div></div>
<div class="ttc" id="agroup__misc_html_gabfad87ea78d034631cf3e5322ac383a1"><div class="ttname"><a href="group__misc.html#gabfad87ea78d034631cf3e5322ac383a1">libevdev_event_type_get_max</a></div><div class="ttdeci">int libevdev_event_type_get_max(unsigned int type)</div></div>
<div class="ttc" id="agroup__bits_html_gab2ab9dad417f33daa79fa0c3d682df0b"><div class="ttname"><a href="group__bits.html#gab2ab9dad417f33daa79fa0c3d682df0b">libevdev_has_event_code</a></div><div class="ttdeci">int libevdev_has_event_code(const struct libevdev *dev, unsigned int type, unsigned int code)</div></div>
<div class="ttc" id="agroup__misc_html_gaebfc6b0ebb70169c9fec61620f1ea85f"><div class="ttname"><a href="group__misc.html#gaebfc6b0ebb70169c9fec61620f1ea85f">libevdev_event_value_from_name_n</a></div><div class="ttdeci">int libevdev_event_value_from_name_n(unsigned int type, unsigned int code, const char *name, size_t len)</div><div class="ttdoc">Look up an event value by its type, code and name.</div></div>
<div class="ttc" id="agroup__bits_html_ga6d8e2caf87fa536fad979346671838d7"><div class="ttname"><a href="group__bits.html#ga6d8e2caf87fa536fad979346671838d7">libevdev_get_abs_info</a></div><div class="ttdeci">const struct input_absinfo * libevdev_get_abs_info(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the axis info for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__kernel_html_gaee1d2db88b191ec21d5bf22dd4fe3055"><div class="ttname"><a href="group__kernel.html#gaee1d2db88b191ec21d5bf22dd4fe3055">libevdev_set_id_version</a></div><div class="ttdeci">void libevdev_set_id_version(struct libevdev *dev, int version)</div></div>
<div class="ttc" id="agroup__misc_html_ga61ce3bf1e66bd172e583b86a11fc41f1"><div class="ttname"><a href="group__misc.html#ga61ce3bf1e66bd172e583b86a11fc41f1">libevdev_event_type_from_name</a></div><div class="ttdeci">int libevdev_event_type_from_name(const char *name)</div><div class="ttdoc">Look up an event-type by its name.</div></div>
<div class="ttc" id="agroup__kernel_html_gaa7d13aeac3c40e16f296467780e67c01"><div class="ttname"><a href="group__kernel.html#gaa7d13aeac3c40e16f296467780e67c01">libevdev_kernel_set_led_value</a></div><div class="ttdeci">int libevdev_kernel_set_led_value(struct libevdev *dev, unsigned int code, enum libevdev_led_value value)</div><div class="ttdoc">Turn an LED on or off.</div></div>
<div class="ttc" id="agroup__bits_html_ga36d529ea53f4522004bc7d16c051464b"><div class="ttname"><a href="group__bits.html#ga36d529ea53f4522004bc7d16c051464b">libevdev_has_property</a></div><div class="ttdeci">int libevdev_has_property(const struct libevdev *dev, unsigned int prop)</div></div>
<div class="ttc" id="agroup__misc_html_gab214498fca7a328f8a712ce15bf21982"><div class="ttname"><a href="group__misc.html#gab214498fca7a328f8a712ce15bf21982">libevdev_event_type_from_code_name_n</a></div><div class="ttdeci">int libevdev_event_type_from_code_name_n(const char *name, size_t len)</div><div class="ttdoc">Look up an event type for a event code name.</div></div>
<div class="ttc" id="agroup__init_html_ggaa282ec9badaa6bc11b1dc5bb124dbd5bad3ac6f5f3ebf7d38a6aad74a88396c88"><div class="ttname"><a href="group__init.html#ggaa282ec9badaa6bc11b1dc5bb124dbd5bad3ac6f5f3ebf7d38a6aad74a88396c88">LIBEVDEV_GRAB</a></div><div class="ttdeci">@ LIBEVDEV_GRAB</div><div class="ttdoc">Grab the device if not currently grabbed.</div><div class="ttdef"><b>Definition:</b> libevdev.h:956</div></div>
<div class="ttc" id="agroup__misc_html_ga314903beeafedabe45f879637e7254b0"><div class="ttname"><a href="group__misc.html#ga314903beeafedabe45f879637e7254b0">libevdev_event_value_from_name</a></div><div class="ttdeci">int libevdev_event_value_from_name(unsigned int type, unsigned int code, const char *name)</div><div class="ttdoc">Look up an event value by its type, code and name.</div></div>
<div class="ttc" id="agroup__events_html_gga56c288d9f2e4c1632986c4e218c494e9a0a348d44362a7e515b40a4ed4d528e19"><div class="ttname"><a href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a0a348d44362a7e515b40a4ed4d528e19">LIBEVDEV_READ_FLAG_BLOCKING</a></div><div class="ttdeci">@ LIBEVDEV_READ_FLAG_BLOCKING</div><div class="ttdoc">The fd is not in O_NONBLOCK and a read may block.</div><div class="ttdef"><b>Definition:</b> libevdev.h:762</div></div>
<div class="ttc" id="agroup__misc_html_gaaa0bc4c7d0d2aedc84c7dcffee9ce29b"><div class="ttname"><a href="group__misc.html#gaaa0bc4c7d0d2aedc84c7dcffee9ce29b">libevdev_property_from_name_n</a></div><div class="ttdeci">int libevdev_property_from_name_n(const char *name, size_t len)</div><div class="ttdoc">Look up an input property by its name.</div></div>
<div class="ttc" id="agroup__kernel_html_gga8cddf7779debef0067665671e911ec41a23e508440306c387ddf89acd2db9e065"><div class="ttname"><a href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a23e508440306c387ddf89acd2db9e065">LIBEVDEV_LED_OFF</a></div><div class="ttdeci">@ LIBEVDEV_LED_OFF</div><div class="ttdoc">Turn the LED off.</div><div class="ttdef"><b>Definition:</b> libevdev.h:1919</div></div>
<div class="ttc" id="agroup__bits_html_ga75751e637a845201b6d1c419ecfa6ba4"><div class="ttname"><a href="group__bits.html#ga75751e637a845201b6d1c419ecfa6ba4">libevdev_get_abs_resolution</a></div><div class="ttdeci">int libevdev_get_abs_resolution(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the axis resolution for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__misc_html_ga4ee03d650200bb04a23233570667fa84"><div class="ttname"><a href="group__misc.html#ga4ee03d650200bb04a23233570667fa84">libevdev_event_type_from_name_n</a></div><div class="ttdeci">int libevdev_event_type_from_name_n(const char *name, size_t len)</div><div class="ttdoc">Look up an event-type by its name.</div></div>
<div class="ttc" id="agroup__events_html_ga4a96221b3c7f54dfb86035d952154e3a"><div class="ttname"><a href="group__events.html#ga4a96221b3c7f54dfb86035d952154e3a">libevdev_read_status</a></div><div class="ttdeci">libevdev_read_status</div><div class="ttdef"><b>Definition:</b> libevdev.h:1071</div></div>
<div class="ttc" id="agroup__kernel_html_ga59ef78b1557f9543d0060ab25b0167ca"><div class="ttname"><a href="group__kernel.html#ga59ef78b1557f9543d0060ab25b0167ca">libevdev_enable_event_type</a></div><div class="ttdeci">int libevdev_enable_event_type(struct libevdev *dev, unsigned int type)</div><div class="ttdoc">Forcibly enable an event type on this device, even if the underlying device does not support it.</div></div>
<div class="ttc" id="agroup__misc_html_ga6f4418c98aa475a2fc34d58a197f7edd"><div class="ttname"><a href="group__misc.html#ga6f4418c98aa475a2fc34d58a197f7edd">libevdev_property_from_name</a></div><div class="ttdeci">int libevdev_property_from_name(const char *name)</div><div class="ttdoc">Look up an input property by its name.</div></div>
<div class="ttc" id="agroup__kernel_html_gafc552080520c9d886452b05f3a1d75b6"><div class="ttname"><a href="group__kernel.html#gafc552080520c9d886452b05f3a1d75b6">libevdev_enable_property</a></div><div class="ttdeci">int libevdev_enable_property(struct libevdev *dev, unsigned int prop)</div></div>
<div class="ttc" id="agroup__kernel_html_ga93a19fa6e5be57903aff7c4a60af2a00"><div class="ttname"><a href="group__kernel.html#ga93a19fa6e5be57903aff7c4a60af2a00">libevdev_kernel_set_led_values</a></div><div class="ttdeci">int libevdev_kernel_set_led_values(struct libevdev *dev,...)</div><div class="ttdoc">Turn multiple LEDs on or off simultaneously.</div></div>
<div class="ttc" id="agroup__bits_html_ga0a7be80d769294bf9758adf79c3c7147"><div class="ttname"><a href="group__bits.html#ga0a7be80d769294bf9758adf79c3c7147">libevdev_fetch_event_value</a></div><div class="ttdeci">int libevdev_fetch_event_value(const struct libevdev *dev, unsigned int type, unsigned int code, int *value)</div><div class="ttdoc">Fetch the current value of the event type.</div></div>
<div class="ttc" id="agroup__logging_html_gaa60be86b83b3a6c82d8e536ba89ff955"><div class="ttname"><a href="group__logging.html#gaa60be86b83b3a6c82d8e536ba89ff955">libevdev_set_log_function</a></div><div class="ttdeci">void libevdev_set_log_function(libevdev_log_func_t logfunc, void *data)</div><div class="ttdoc">Set a printf-style logging handler for library-internal logging.</div></div>
<div class="ttc" id="agroup__init_html_ga332c8ee260b4ef864345abe5d04e820c"><div class="ttname"><a href="group__init.html#ga332c8ee260b4ef864345abe5d04e820c">libevdev_new</a></div><div class="ttdeci">struct libevdev * libevdev_new(void)</div><div class="ttdoc">Initialize a new libevdev device.</div></div>
<div class="ttc" id="agroup__mt_html_ga8c6303391cb4f90b2d46763cf4eb8bc8"><div class="ttname"><a href="group__mt.html#ga8c6303391cb4f90b2d46763cf4eb8bc8">libevdev_get_slot_value</a></div><div class="ttdeci">int libevdev_get_slot_value(const struct libevdev *dev, unsigned int slot, unsigned int code)</div><div class="ttdoc">Return the current value of the code for the given slot.</div></div>
<div class="ttc" id="agroup__logging_html_ga0b798d0864f2b1b10e4603f9431b3364"><div class="ttname"><a href="group__logging.html#ga0b798d0864f2b1b10e4603f9431b3364">libevdev_log_priority</a></div><div class="ttdeci">libevdev_log_priority</div><div class="ttdef"><b>Definition:</b> libevdev.h:823</div></div>
<div class="ttc" id="agroup__bits_html_ga75a07d0c96dfe09d2194c104c429d0ae"><div class="ttname"><a href="group__bits.html#ga75a07d0c96dfe09d2194c104c429d0ae">libevdev_get_id_version</a></div><div class="ttdeci">int libevdev_get_id_version(const struct libevdev *dev)</div></div>
<div class="ttc" id="alibevdev_8h_html_a64a0f325e88e1be50eb806e1ff75aec8"><div class="ttname"><a href="libevdev_8h.html#a64a0f325e88e1be50eb806e1ff75aec8">LIBEVDEV_ATTRIBUTE_PRINTF</a></div><div class="ttdeci">#define LIBEVDEV_ATTRIBUTE_PRINTF(_format, _args)</div><div class="ttdef"><b>Definition:</b> libevdev.h:33</div></div>
<div class="ttc" id="agroup__logging_html_gaf36c721d273c0794251eb7dacea2f0a4"><div class="ttname"><a href="group__logging.html#gaf36c721d273c0794251eb7dacea2f0a4">libevdev_log_func_t</a></div><div class="ttdeci">void(* libevdev_log_func_t)(enum libevdev_log_priority priority, void *data, const char *file, int line, const char *func, const char *format, va_list args)</div><div class="ttdoc">Logging function called by library-internal logging.</div><div class="ttdef"><b>Definition:</b> libevdev.h:845</div></div>
<div class="ttc" id="agroup__misc_html_gab407b3c2caaae502859c28460cad17bb"><div class="ttname"><a href="group__misc.html#gab407b3c2caaae502859c28460cad17bb">libevdev_event_code_get_name</a></div><div class="ttdeci">const char * libevdev_event_code_get_name(unsigned int type, unsigned int code)</div></div>
<div class="ttc" id="agroup__kernel_html_ga41c0321b93349d0ddd1f1c007ccf7de9"><div class="ttname"><a href="group__kernel.html#ga41c0321b93349d0ddd1f1c007ccf7de9">libevdev_kernel_set_abs_info</a></div><div class="ttdeci">int libevdev_kernel_set_abs_info(struct libevdev *dev, unsigned int code, const struct input_absinfo *abs)</div><div class="ttdoc">Set the device's EV_ABS axis to the value defined in the abs parameter.</div></div>
<div class="ttc" id="agroup__bits_html_ga6259f4c6bdba950329ff9cd48c2ef8a3"><div class="ttname"><a href="group__bits.html#ga6259f4c6bdba950329ff9cd48c2ef8a3">libevdev_get_event_value</a></div><div class="ttdeci">int libevdev_get_event_value(const struct libevdev *dev, unsigned int type, unsigned int code)</div><div class="ttdoc">Behaviour of this function is undefined if the device does not provide the event.</div></div>
<div class="ttc" id="agroup__misc_html_ga17a760a9eea9dc25011f39e1d5c282a0"><div class="ttname"><a href="group__misc.html#ga17a760a9eea9dc25011f39e1d5c282a0">libevdev_event_code_from_name_n</a></div><div class="ttdeci">int libevdev_event_code_from_name_n(unsigned int type, const char *name, size_t len)</div><div class="ttdoc">Look up an event code by its type and name.</div></div>
<div class="ttc" id="agroup__misc_html_ga5bf9af4b8c372d87793e8a3c2dbeb466"><div class="ttname"><a href="group__misc.html#ga5bf9af4b8c372d87793e8a3c2dbeb466">libevdev_event_code_from_code_name_n</a></div><div class="ttdeci">int libevdev_event_code_from_code_name_n(const char *name, size_t len)</div><div class="ttdoc">Look up an event code by its name.</div></div>
<div class="ttc" id="agroup__kernel_html_ga0c61f4919b03b0850529a50c37a20333"><div class="ttname"><a href="group__kernel.html#ga0c61f4919b03b0850529a50c37a20333">libevdev_set_slot_value</a></div><div class="ttdeci">int libevdev_set_slot_value(struct libevdev *dev, unsigned int slot, unsigned int code, int value)</div><div class="ttdoc">Set the value for a given code for the given slot.</div></div>
<div class="ttc" id="agroup__init_html_ga6658ac490d68c307ff8b8d1536c12b44"><div class="ttname"><a href="group__init.html#ga6658ac490d68c307ff8b8d1536c12b44">libevdev_set_fd</a></div><div class="ttdeci">int libevdev_set_fd(struct libevdev *dev, int fd)</div><div class="ttdoc">Set the fd for this struct and initialize internal data.</div></div>
<div class="ttc" id="agroup__kernel_html_ga8ce28051ebbb73de1d04d782f4d0d6fe"><div class="ttname"><a href="group__kernel.html#ga8ce28051ebbb73de1d04d782f4d0d6fe">libevdev_set_id_vendor</a></div><div class="ttdeci">void libevdev_set_id_vendor(struct libevdev *dev, int vendor_id)</div></div>
<div class="ttc" id="agroup__kernel_html_gabd309f30744a49e9391250b00ba2d67a"><div class="ttname"><a href="group__kernel.html#gabd309f30744a49e9391250b00ba2d67a">libevdev_set_abs_flat</a></div><div class="ttdeci">void libevdev_set_abs_flat(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the flat for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__init_html_gacd9fe760d15be25fc99ce469034bd78c"><div class="ttname"><a href="group__init.html#gacd9fe760d15be25fc99ce469034bd78c">libevdev_free</a></div><div class="ttdeci">void libevdev_free(struct libevdev *dev)</div><div class="ttdoc">Clean up and free the libevdev struct.</div></div>
<div class="ttc" id="agroup__logging_html_ga1da07493a798595cf85c127490b98ee8"><div class="ttname"><a href="group__logging.html#ga1da07493a798595cf85c127490b98ee8">libevdev_get_log_priority</a></div><div class="ttdeci">enum libevdev_log_priority libevdev_get_log_priority(void)</div><div class="ttdoc">Return the current log priority level.</div></div>
<div class="ttc" id="agroup__bits_html_gaf12fa199bb9497b38358d72e7505d770"><div class="ttname"><a href="group__bits.html#gaf12fa199bb9497b38358d72e7505d770">libevdev_get_repeat</a></div><div class="ttdeci">int libevdev_get_repeat(const struct libevdev *dev, int *delay, int *period)</div><div class="ttdoc">Get the repeat delay and repeat period values for this device.</div></div>
<div class="ttc" id="agroup__mt_html_gaca19dca5aa8f0ea3b210f3fc670384ec"><div class="ttname"><a href="group__mt.html#gaca19dca5aa8f0ea3b210f3fc670384ec">libevdev_fetch_slot_value</a></div><div class="ttdeci">int libevdev_fetch_slot_value(const struct libevdev *dev, unsigned int slot, unsigned int code, int *value)</div><div class="ttdoc">Fetch the current value of the code for the given slot.</div></div>
<div class="ttc" id="agroup__kernel_html_ga62fbdaac056ab5c3db154a9eeaf33799"><div class="ttname"><a href="group__kernel.html#ga62fbdaac056ab5c3db154a9eeaf33799">libevdev_set_id_product</a></div><div class="ttdeci">void libevdev_set_id_product(struct libevdev *dev, int product_id)</div></div>
<div class="ttc" id="agroup__events_html_gga56c288d9f2e4c1632986c4e218c494e9a5198e5c9cc98b75f73f61b104d6a674c"><div class="ttname"><a href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a5198e5c9cc98b75f73f61b104d6a674c">LIBEVDEV_READ_FLAG_FORCE_SYNC</a></div><div class="ttdeci">@ LIBEVDEV_READ_FLAG_FORCE_SYNC</div><div class="ttdoc">Pretend the next event is a SYN_DROPPED and require the caller to sync.</div><div class="ttdef"><b>Definition:</b> libevdev.h:760</div></div>
<div class="ttc" id="agroup__bits_html_ga398bef155fa4a0cfb832de30723ebd14"><div class="ttname"><a href="group__bits.html#ga398bef155fa4a0cfb832de30723ebd14">libevdev_has_event_type</a></div><div class="ttdeci">int libevdev_has_event_type(const struct libevdev *dev, unsigned int type)</div></div>
<div class="ttc" id="agroup__kernel_html_gaca62172c2a823cd02eacf0d2292d917a"><div class="ttname"><a href="group__kernel.html#gaca62172c2a823cd02eacf0d2292d917a">libevdev_set_abs_minimum</a></div><div class="ttdeci">void libevdev_set_abs_minimum(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the minimum for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__logging_html_gga0b798d0864f2b1b10e4603f9431b3364a4d13a031b112292ca3e7bab8c6d76abc"><div class="ttname"><a href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a4d13a031b112292ca3e7bab8c6d76abc">LIBEVDEV_LOG_INFO</a></div><div class="ttdeci">@ LIBEVDEV_LOG_INFO</div><div class="ttdoc">informational messages</div><div class="ttdef"><b>Definition:</b> libevdev.h:825</div></div>
<div class="ttc" id="agroup__events_html_gae18fbfb59064c9c4b9d5db2d8cb23784"><div class="ttname"><a href="group__events.html#gae18fbfb59064c9c4b9d5db2d8cb23784">libevdev_has_event_pending</a></div><div class="ttdeci">int libevdev_has_event_pending(struct libevdev *dev)</div><div class="ttdoc">Check if there are events waiting for us.</div></div>
<div class="ttc" id="agroup__kernel_html_gafc7a4f5308e2dbf55f875630b8dca049"><div class="ttname"><a href="group__kernel.html#gafc7a4f5308e2dbf55f875630b8dca049">libevdev_set_abs_info</a></div><div class="ttdeci">void libevdev_set_abs_info(struct libevdev *dev, unsigned int code, const struct input_absinfo *abs)</div><div class="ttdoc">Change the abs info for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__bits_html_ga9bf55d416401642bad0c435735682308"><div class="ttname"><a href="group__bits.html#ga9bf55d416401642bad0c435735682308">libevdev_get_id_bustype</a></div><div class="ttdeci">int libevdev_get_id_bustype(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__kernel_html_gae5dcdb7678cdc9be4ab1989725b4ed32"><div class="ttname"><a href="group__kernel.html#gae5dcdb7678cdc9be4ab1989725b4ed32">libevdev_set_name</a></div><div class="ttdeci">void libevdev_set_name(struct libevdev *dev, const char *name)</div><div class="ttdoc">Change the device's name as returned by libevdev_get_name().</div></div>
<div class="ttc" id="agroup__bits_html_ga6d9f7d44bff8828ead3d251177035ca4"><div class="ttname"><a href="group__bits.html#ga6d9f7d44bff8828ead3d251177035ca4">libevdev_get_uniq</a></div><div class="ttdeci">const char * libevdev_get_uniq(const struct libevdev *dev)</div><div class="ttdoc">Retrieve the device's unique identifier, either as set by the caller or as read from the kernel.</div></div>
<div class="ttc" id="agroup__kernel_html_gaf99139c728ba1bd4b37ede612780b6b0"><div class="ttname"><a href="group__kernel.html#gaf99139c728ba1bd4b37ede612780b6b0">libevdev_set_id_bustype</a></div><div class="ttdeci">void libevdev_set_id_bustype(struct libevdev *dev, int bustype)</div></div>
<div class="ttc" id="agroup__events_html_ga56c288d9f2e4c1632986c4e218c494e9"><div class="ttname"><a href="group__events.html#ga56c288d9f2e4c1632986c4e218c494e9">libevdev_read_flag</a></div><div class="ttdeci">libevdev_read_flag</div><div class="ttdef"><b>Definition:</b> libevdev.h:757</div></div>
<div class="ttc" id="agroup__bits_html_ga1dc66cfef646878d58be72f8902a6bac"><div class="ttname"><a href="group__bits.html#ga1dc66cfef646878d58be72f8902a6bac">libevdev_get_id_product</a></div><div class="ttdeci">int libevdev_get_id_product(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__logging_html_ga2830ff0aa391d8d1111682d3e762091b"><div class="ttname"><a href="group__logging.html#ga2830ff0aa391d8d1111682d3e762091b">libevdev_set_device_log_function</a></div><div class="ttdeci">void libevdev_set_device_log_function(struct libevdev *dev, libevdev_device_log_func_t logfunc, enum libevdev_log_priority priority, void *data)</div><div class="ttdoc">Set a printf-style logging handler for library-internal logging for this device context.</div></div>
<div class="ttc" id="agroup__kernel_html_ga8cddf7779debef0067665671e911ec41"><div class="ttname"><a href="group__kernel.html#ga8cddf7779debef0067665671e911ec41">libevdev_led_value</a></div><div class="ttdeci">libevdev_led_value</div><div class="ttdef"><b>Definition:</b> libevdev.h:1917</div></div>
<div class="ttc" id="agroup__bits_html_ga08891c3285da5b8d26769c9a34f063f3"><div class="ttname"><a href="group__bits.html#ga08891c3285da5b8d26769c9a34f063f3">libevdev_get_id_vendor</a></div><div class="ttdeci">int libevdev_get_id_vendor(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__kernel_html_ga4e4fd2627744fd5811c50c7403f27ad7"><div class="ttname"><a href="group__kernel.html#ga4e4fd2627744fd5811c50c7403f27ad7">libevdev_set_uniq</a></div><div class="ttdeci">void libevdev_set_uniq(struct libevdev *dev, const char *uniq)</div><div class="ttdoc">Change the device's unique identifier as returned by libevdev_get_uniq().</div></div>
<div class="ttc" id="agroup__logging_html_gga0b798d0864f2b1b10e4603f9431b3364a21fd1083f2ebd0a25f09ee982e365d5f"><div class="ttname"><a href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a21fd1083f2ebd0a25f09ee982e365d5f">LIBEVDEV_LOG_ERROR</a></div><div class="ttdeci">@ LIBEVDEV_LOG_ERROR</div><div class="ttdoc">critical errors and application bugs</div><div class="ttdef"><b>Definition:</b> libevdev.h:824</div></div>
<div class="ttc" id="agroup__bits_html_ga6b3f7ebae2324524dc41384acd724b92"><div class="ttname"><a href="group__bits.html#ga6b3f7ebae2324524dc41384acd724b92">libevdev_get_abs_flat</a></div><div class="ttdeci">int libevdev_get_abs_flat(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the axis flat for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__mt_html_gaf272526f0a59d2f61ef7389046cd4088"><div class="ttname"><a href="group__mt.html#gaf272526f0a59d2f61ef7389046cd4088">libevdev_get_num_slots</a></div><div class="ttdeci">int libevdev_get_num_slots(const struct libevdev *dev)</div><div class="ttdoc">Get the number of slots supported by this device.</div></div>
<div class="ttc" id="agroup__events_html_gga4a96221b3c7f54dfb86035d952154e3aa8d70b14a38204fde4ad433023baa545a"><div class="ttname"><a href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aa8d70b14a38204fde4ad433023baa545a">LIBEVDEV_READ_STATUS_SYNC</a></div><div class="ttdeci">@ LIBEVDEV_READ_STATUS_SYNC</div><div class="ttdoc">Depending on the libevdev_next_event() read flag:</div><div class="ttdef"><b>Definition:</b> libevdev.h:1087</div></div>
<div class="ttc" id="agroup__logging_html_gga0b798d0864f2b1b10e4603f9431b3364a760d66d422ffcf89b0f1ddb529b95793"><div class="ttname"><a href="group__logging.html#gga0b798d0864f2b1b10e4603f9431b3364a760d66d422ffcf89b0f1ddb529b95793">LIBEVDEV_LOG_DEBUG</a></div><div class="ttdeci">@ LIBEVDEV_LOG_DEBUG</div><div class="ttdoc">debug information</div><div class="ttdef"><b>Definition:</b> libevdev.h:826</div></div>
<div class="ttc" id="agroup__events_html_gabb96c864e836c0b98788f4ab771c3a76"><div class="ttname"><a href="group__events.html#gabb96c864e836c0b98788f4ab771c3a76">libevdev_next_event</a></div><div class="ttdeci">int libevdev_next_event(struct libevdev *dev, unsigned int flags, struct input_event *ev)</div><div class="ttdoc">Get the next event from the device.</div></div>
<div class="ttc" id="agroup__bits_html_ga482ce989a3f62f7e67e4ea7ad534189e"><div class="ttname"><a href="group__bits.html#ga482ce989a3f62f7e67e4ea7ad534189e">libevdev_get_abs_minimum</a></div><div class="ttdeci">int libevdev_get_abs_minimum(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the minimum axis value for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__kernel_html_ga8f6367c36331c803ad69b2591e210019"><div class="ttname"><a href="group__kernel.html#ga8f6367c36331c803ad69b2591e210019">libevdev_disable_property</a></div><div class="ttdeci">int libevdev_disable_property(struct libevdev *dev, unsigned int prop)</div></div>
<div class="ttc" id="agroup__events_html_gga4a96221b3c7f54dfb86035d952154e3aab053221fc1c9630eee7111b75aa0aec7"><div class="ttname"><a href="group__events.html#gga4a96221b3c7f54dfb86035d952154e3aab053221fc1c9630eee7111b75aa0aec7">LIBEVDEV_READ_STATUS_SUCCESS</a></div><div class="ttdeci">@ LIBEVDEV_READ_STATUS_SUCCESS</div><div class="ttdoc">libevdev_next_event() has finished without an error and an event is available for processing.</div><div class="ttdef"><b>Definition:</b> libevdev.h:1078</div></div>
<div class="ttc" id="agroup__mt_html_gad22e2420be668b56ef486cde2e98c5dd"><div class="ttname"><a href="group__mt.html#gad22e2420be668b56ef486cde2e98c5dd">libevdev_get_current_slot</a></div><div class="ttdeci">int libevdev_get_current_slot(const struct libevdev *dev)</div><div class="ttdoc">Get the currently active slot.</div></div>
<div class="ttc" id="agroup__misc_html_ga37766a6a498fef3294d589abcce688bb"><div class="ttname"><a href="group__misc.html#ga37766a6a498fef3294d589abcce688bb">libevdev_event_is_code</a></div><div class="ttdeci">int libevdev_event_is_code(const struct input_event *ev, unsigned int type, unsigned int code)</div><div class="ttdoc">Helper function to check if an event is of a specific type and code.</div></div>
<div class="ttc" id="agroup__kernel_html_ga51cfda33fd526549046399aadd764fca"><div class="ttname"><a href="group__kernel.html#ga51cfda33fd526549046399aadd764fca">libevdev_enable_event_code</a></div><div class="ttdeci">int libevdev_enable_event_code(struct libevdev *dev, unsigned int type, unsigned int code, const void *data)</div><div class="ttdoc">Forcibly enable an event code on this device, even if the underlying device does not support it.</div></div>
<div class="ttc" id="agroup__misc_html_gacc12bdb7b912070ac9c375428f2c9892"><div class="ttname"><a href="group__misc.html#gacc12bdb7b912070ac9c375428f2c9892">libevdev_property_get_name</a></div><div class="ttdeci">const char * libevdev_property_get_name(unsigned int prop)</div></div>
<div class="ttc" id="agroup__misc_html_gabcd45c5e963cba245e944ea66e72fcc3"><div class="ttname"><a href="group__misc.html#gabcd45c5e963cba245e944ea66e72fcc3">libevdev_event_value_get_name</a></div><div class="ttdeci">const char * libevdev_event_value_get_name(unsigned int type, unsigned int code, int value)</div><div class="ttdoc">This function resolves the event value for a code.</div></div>
<div class="ttc" id="agroup__bits_html_ga31e9e7a99215a03bcdc339b53e1be2fa"><div class="ttname"><a href="group__bits.html#ga31e9e7a99215a03bcdc339b53e1be2fa">libevdev_get_driver_version</a></div><div class="ttdeci">int libevdev_get_driver_version(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__misc_html_ga6620301a67f467489e4a7f93afe81621"><div class="ttname"><a href="group__misc.html#ga6620301a67f467489e4a7f93afe81621">libevdev_event_code_from_name</a></div><div class="ttdeci">int libevdev_event_code_from_name(unsigned int type, const char *name)</div><div class="ttdoc">Look up an event code by its type and name.</div></div>
<div class="ttc" id="agroup__kernel_html_ga2925b6fbf8c7991ff2164424b840b82d"><div class="ttname"><a href="group__kernel.html#ga2925b6fbf8c7991ff2164424b840b82d">libevdev_set_clock_id</a></div><div class="ttdeci">int libevdev_set_clock_id(struct libevdev *dev, int clockid)</div><div class="ttdoc">Set the clock ID to be used for timestamps.</div></div>
<div class="ttc" id="agroup__bits_html_ga97a3411ae85f1f3b5c5eb1d5351b11ca"><div class="ttname"><a href="group__bits.html#ga97a3411ae85f1f3b5c5eb1d5351b11ca">libevdev_get_abs_maximum</a></div><div class="ttdeci">int libevdev_get_abs_maximum(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the maximum axis value for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__kernel_html_gacd57c8d6ace8e0b1417809a9c1c67af3"><div class="ttname"><a href="group__kernel.html#gacd57c8d6ace8e0b1417809a9c1c67af3">libevdev_set_phys</a></div><div class="ttdeci">void libevdev_set_phys(struct libevdev *dev, const char *phys)</div><div class="ttdoc">Change the device's physical location as returned by libevdev_get_phys().</div></div>
<div class="ttc" id="agroup__kernel_html_ga6199a7c8144f54e092e913c2d2df16de"><div class="ttname"><a href="group__kernel.html#ga6199a7c8144f54e092e913c2d2df16de">libevdev_disable_event_code</a></div><div class="ttdeci">int libevdev_disable_event_code(struct libevdev *dev, unsigned int type, unsigned int code)</div><div class="ttdoc">Forcibly disable an event code on this device, even if the underlying device provides it.</div></div>
<div class="ttc" id="agroup__init_html_gac71c9cca4c572ed1b1a8c233be70a17c"><div class="ttname"><a href="group__init.html#gac71c9cca4c572ed1b1a8c233be70a17c">libevdev_change_fd</a></div><div class="ttdeci">int libevdev_change_fd(struct libevdev *dev, int fd)</div><div class="ttdoc">Change the fd for this device, without re-reading the actual device.</div></div>
<div class="ttc" id="agroup__kernel_html_gabbacb53b66882b5335055c0fd1f40d9a"><div class="ttname"><a href="group__kernel.html#gabbacb53b66882b5335055c0fd1f40d9a">libevdev_disable_event_type</a></div><div class="ttdeci">int libevdev_disable_event_type(struct libevdev *dev, unsigned int type)</div><div class="ttdoc">Forcibly disable an event type on this device, even if the underlying device provides it.</div></div>
<div class="ttc" id="agroup__bits_html_ga5df483b0b24d7b96ea1181808fab851d"><div class="ttname"><a href="group__bits.html#ga5df483b0b24d7b96ea1181808fab851d">libevdev_get_phys</a></div><div class="ttdeci">const char * libevdev_get_phys(const struct libevdev *dev)</div><div class="ttdoc">Retrieve the device's physical location, either as set by the caller or as read from the kernel.</div></div>
<div class="ttc" id="agroup__init_html_gab9bfc800859ac3aa63f41d58ec4b616c"><div class="ttname"><a href="group__init.html#gab9bfc800859ac3aa63f41d58ec4b616c">libevdev_get_fd</a></div><div class="ttdeci">int libevdev_get_fd(const struct libevdev *dev)</div></div>
<div class="ttc" id="agroup__bits_html_ga1a3dfeb3bb2db0b4323c836c7ab10f1a"><div class="ttname"><a href="group__bits.html#ga1a3dfeb3bb2db0b4323c836c7ab10f1a">libevdev_get_abs_fuzz</a></div><div class="ttdeci">int libevdev_get_abs_fuzz(const struct libevdev *dev, unsigned int code)</div><div class="ttdoc">Get the axis fuzz for the given axis, as advertised by the kernel.</div></div>
<div class="ttc" id="agroup__kernel_html_gaa192bf0c68620be819337da6ec361c21"><div class="ttname"><a href="group__kernel.html#gaa192bf0c68620be819337da6ec361c21">libevdev_set_abs_fuzz</a></div><div class="ttdeci">void libevdev_set_abs_fuzz(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the fuzz for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__misc_html_gac99720fd926bf288764f9a81bf37ed09"><div class="ttname"><a href="group__misc.html#gac99720fd926bf288764f9a81bf37ed09">libevdev_event_type_get_name</a></div><div class="ttdeci">const char * libevdev_event_type_get_name(unsigned int type)</div></div>
<div class="ttc" id="agroup__logging_html_gaf6b6842a9ed98b61d0abb421e853fd89"><div class="ttname"><a href="group__logging.html#gaf6b6842a9ed98b61d0abb421e853fd89">libevdev_set_log_priority</a></div><div class="ttdeci">void libevdev_set_log_priority(enum libevdev_log_priority priority)</div><div class="ttdoc">Define the minimum level to be printed to the log handler.</div></div>
<div class="ttc" id="agroup__misc_html_gabad00f68481d83747a134c0a37aca003"><div class="ttname"><a href="group__misc.html#gabad00f68481d83747a134c0a37aca003">libevdev_event_code_from_code_name</a></div><div class="ttdeci">int libevdev_event_code_from_code_name(const char *name)</div><div class="ttdoc">Look up an event code by its name.</div></div>
<div class="ttc" id="agroup__init_html_ga5d434af74fee20f273db568e2cbbd13f"><div class="ttname"><a href="group__init.html#ga5d434af74fee20f273db568e2cbbd13f">libevdev_grab</a></div><div class="ttdeci">int libevdev_grab(struct libevdev *dev, enum libevdev_grab_mode grab)</div><div class="ttdoc">Grab or ungrab the device through a kernel EVIOCGRAB.</div></div>
<div class="ttc" id="agroup__misc_html_gab8b6b80740e028261300b8952b61a596"><div class="ttname"><a href="group__misc.html#gab8b6b80740e028261300b8952b61a596">libevdev_event_is_type</a></div><div class="ttdeci">int libevdev_event_is_type(const struct input_event *ev, unsigned int type)</div><div class="ttdoc">Helper function to check if an event is of a specific type.</div></div>
<div class="ttc" id="agroup__init_html_gaa282ec9badaa6bc11b1dc5bb124dbd5b"><div class="ttname"><a href="group__init.html#gaa282ec9badaa6bc11b1dc5bb124dbd5b">libevdev_grab_mode</a></div><div class="ttdeci">libevdev_grab_mode</div><div class="ttdef"><b>Definition:</b> libevdev.h:955</div></div>
<div class="ttc" id="agroup__bits_html_gaed0328c67b7a78422636d9fe09a73f12"><div class="ttname"><a href="group__bits.html#gaed0328c67b7a78422636d9fe09a73f12">libevdev_get_name</a></div><div class="ttdeci">const char * libevdev_get_name(const struct libevdev *dev)</div><div class="ttdoc">Retrieve the device's name, either as set by the caller or as read from the kernel.</div></div>
<div class="ttc" id="agroup__kernel_html_gga8cddf7779debef0067665671e911ec41a69d5a4cdf2a9357915fff0251a61d2ab"><div class="ttname"><a href="group__kernel.html#gga8cddf7779debef0067665671e911ec41a69d5a4cdf2a9357915fff0251a61d2ab">LIBEVDEV_LED_ON</a></div><div class="ttdeci">@ LIBEVDEV_LED_ON</div><div class="ttdoc">Turn the LED on.</div><div class="ttdef"><b>Definition:</b> libevdev.h:1918</div></div>
<div class="ttc" id="agroup__kernel_html_ga2302fd9a491d8e27280157d67a703af6"><div class="ttname"><a href="group__kernel.html#ga2302fd9a491d8e27280157d67a703af6">libevdev_set_abs_maximum</a></div><div class="ttdeci">void libevdev_set_abs_maximum(struct libevdev *dev, unsigned int code, int val)</div><div class="ttdoc">Change the maximum for the given EV_ABS event code, if the code exists.</div></div>
<div class="ttc" id="agroup__events_html_gga56c288d9f2e4c1632986c4e218c494e9ac0d6ee19551eecf76f1ede4f36252418"><div class="ttname"><a href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9ac0d6ee19551eecf76f1ede4f36252418">LIBEVDEV_READ_FLAG_NORMAL</a></div><div class="ttdeci">@ LIBEVDEV_READ_FLAG_NORMAL</div><div class="ttdoc">Process data in normal mode.</div><div class="ttdef"><b>Definition:</b> libevdev.h:759</div></div>
<div class="ttc" id="agroup__events_html_gga56c288d9f2e4c1632986c4e218c494e9a1f13a19641d6dafcf01a86a6389800f8"><div class="ttname"><a href="group__events.html#gga56c288d9f2e4c1632986c4e218c494e9a1f13a19641d6dafcf01a86a6389800f8">LIBEVDEV_READ_FLAG_SYNC</a></div><div class="ttdeci">@ LIBEVDEV_READ_FLAG_SYNC</div><div class="ttdoc">Process data in sync mode.</div><div class="ttdef"><b>Definition:</b> libevdev.h:758</div></div>
<div class="ttc" id="agroup__logging_html_gab7eb997be2b701cc6f42e7b4c3478269"><div class="ttname"><a href="group__logging.html#gab7eb997be2b701cc6f42e7b4c3478269">libevdev_device_log_func_t</a></div><div class="ttdeci">void(* libevdev_device_log_func_t)(const struct libevdev *dev, enum libevdev_log_priority priority, void *data, const char *file, int line, const char *func, const char *format, va_list args)</div><div class="ttdoc">Logging function called by library-internal logging for a specific libevdev context.</div><div class="ttdef"><b>Definition:</b> libevdev.h:918</div></div>
<div class="ttc" id="agroup__kernel_html_ga79e82ee2a95cb08adb4172aabe0c7184"><div class="ttname"><a href="group__kernel.html#ga79e82ee2a95cb08adb4172aabe0c7184">libevdev_set_event_value</a></div><div class="ttdeci">int libevdev_set_event_value(struct libevdev *dev, unsigned int type, unsigned int code, int value)</div><div class="ttdoc">Set the value for a given event type and code.</div></div>
<div class="ttc" id="agroup__misc_html_gadd41b7514cca16c8b8920f16e562e08a"><div class="ttname"><a href="group__misc.html#gadd41b7514cca16c8b8920f16e562e08a">libevdev_event_type_from_code_name</a></div><div class="ttdeci">int libevdev_event_type_from_code_name(const char *name)</div><div class="ttdoc">Look up an event type for a event code name.</div></div>
<div class="ttc" id="agroup__init_html_ga89bb5bce1c23e293293484b05b12aaf4"><div class="ttname"><a href="group__init.html#ga89bb5bce1c23e293293484b05b12aaf4">libevdev_new_from_fd</a></div><div class="ttdeci">int libevdev_new_from_fd(int fd, struct libevdev **dev)</div><div class="ttdoc">Initialize a new libevdev device from the given fd.</div></div>
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.20
</small></address>
</body>
</html>
